home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / misc / greeting.lzh / GREETING.INF next >
Text File  |  1992-06-07  |  8KB  |  172 lines

  1. Frank Bell   20.50.32  07.06.92   GREETING.PRG Version 1.03
  2.  
  3. GREETING.PRG is a small Auto folder program to display a short greeting 
  4. message when you boot up your computer or do a reset (warm or cold).
  5.  
  6. For some reason I like to see 'Good Morning Mr.Bell' when I turn my machine 
  7. on, no matter what time of day it is.  Before, my little HD Wait program 
  8. would display the message - but, as I now use TOS 2.06, I have no need for 
  9. Wait.Prg anymore.  So I decided to write a replacement greeting program. 
  10.  
  11. While I was busy writing my one liner, other ideas popped into my head: 
  12. blanking the screen first, printing a blank line or two before the message 
  13. (or after the message for that matter), and why not different messages 
  14. depending on the time of day, and why so fast? (others should see it too).  
  15. So I added a lot of options (commands) along with a lot of different 
  16. messages. 
  17.  
  18. Just a short note - this program is _not_ an alarm or a alarm clock program.
  19. It only checks the time and the GREETING.INF file when called, or
  20. started, or whatever.  This program is also not an accessory.
  21.  
  22.  
  23. Anyway:
  24. This archive and the two files, see below, are FreeWare, sort of Public 
  25. Domain, and can be given away freely, put up on BBSs and generally passed 
  26. around to your friends and enemies.  And I have nothing against Magazine 
  27. diskettes or Diskette Magazines for that matter - but please send me a copy. 
  28. I don't want to see it on any "pay PD software house diskettes" without my 
  29. permission - first!  And nothing commercial either.  Remember, GREETING.PRG 
  30. is copywrited by me.
  31.  
  32.  
  33. So, now on to GREETINGs.  
  34. This archive consist of two files:  GREETING.PRG and GREETING.INF.
  35. GREETING.PRG should be put someplace in your boot drive Auto folder, I don't
  36. care where, but others might.  GREETING.INF, which is both option file and 
  37. instruction file, should go into the same folder or directory as the program 
  38. or at least the same Root.  Please don't change the name of GREETING.INF - 
  39. everything is hardcoded. 
  40.  
  41.  
  42. A few options are needed first (otherwise you'll always see 'Good Morning Mr.
  43. Bell' which may or may not fit.  Then copy this file (GREETING.INF), or 
  44. an extract of it, into the same folder as the program or the same root 
  45. directory as the program.
  46.  
  47. The options:
  48.  Your system start up greeting message and commands use the following format: 
  49.  ">nnmmmm..." for messages and ">aaaa" for commands.  A message is what you
  50.  want displayed on your screen and commands help control screen output a 
  51.  little bit.  
  52.  
  53.  ">"       Indicates a message or command line.  Must begin on position one
  54.            or all the way over to the left of the file. All other lines in 
  55.            this text are ignored - as far as the program is concerned.
  56.  
  57.  "nn"      Indicates a message line and the times the message should be 
  58.            displayed (uses 24 hour clock format) and is compared against the 
  59.            system clock.  If this number is 'equal to' or is 'less then' your 
  60.            system hour, then the message is displayed.  The last message 
  61.            processed, which meets these requirements, is used (if more then 
  62.            one message is present, then the last one is displayed).  If no 
  63.            message meets the above test, then the first message found is 
  64.            displayed - whatever it is.  There is no limit to the number of 
  65.            messages you can put into this file - your doing the typing.
  66.  
  67.  "mmmm..." The message, don't make it too long, you have to read it.
  68.  
  69.  "aaaa"    The commands, see below. 
  70.  
  71.  
  72. Message examples:
  73. >02 Its getting real late baby
  74. >04 Its late Mr.Bell, you better get back in bed
  75. >05 Up Early I see...
  76. >06 Good Morning Mr.Bell
  77. >07 Your late for work again...
  78. >11 Good Morning Mr.Bell
  79. >12 Good Afternoon Mr.Bell
  80. >18 Good Evening Frank
  81. >19 Mahlzeit
  82. >20 Good Evening Mr.Bell
  83. >23 You going to work all night again?
  84.  
  85.  
  86. Command examples (not case sensitive - UPPER and lower or mixed cases are 
  87. allowed):
  88.  
  89. Attention getters -
  90.  >BELL :DingDong just before the message is displayed (not yet supported).
  91. >PING  :PING just before the message is displayed.
  92.         (only one of each is allowed or used, sorry)
  93.  
  94. Clear Screen -
  95. >CSB   :CLEAR SCREEN BEFORE displaying message.
  96.  >CSA  :CLEAR SCREEN AFTER displaying message and after printing
  97.         BLANK LINES and WAITing - see below.
  98.  
  99. Blank Lines (plural) -
  100.  >BLB  :Print one BLANK LINE BEFORE displaying message. 
  101.  >BLA  :Print one BLANK LINE AFTER displaying message.
  102.         (more than one ">BLB" and/or ">BLA" is allowed.)
  103.  
  104. Waiting -
  105. >WAIT  :WAIT one second after displaying the message.
  106.         (more than one ">WAIT" is allowed)
  107.  
  108. Extras -
  109. >MEM   :Display current free system MEMORY in Kilobytes.
  110. >DATE  :Display current system DATE, also see date format below.
  111. >TIME  :Display current system TIME.
  112.         (these three items, when present, are displayed along with your 
  113.          message and to the right of it - on the same line.  Any or all
  114.          may be used or not used - they appear in the above order left to
  115.          right on the screen.)
  116.  
  117. Date Format (used with DATE Extras, above) -
  118.  >BRD  :Germany       - "TT.MM.JJ" or "DD.MM.YY".
  119. >USA   :North America - "MM/DD/YY".
  120.  >GB   :Great Britain - "DD/MM/YY".
  121.         (this code selects the date format when the date is displayed. 
  122.          The last code found, when more then one is present, is used.
  123.          If no country code is found, then the German format is used.  
  124.          Time is always displayed as "HH:MM" when time is displayed.)
  125.  
  126.         (I use the above country codes because they are the most widely known
  127.          and cover most date format possibilities - by no means do I mean to
  128.          discriminate anybody's homeland, country, or language.  For example:
  129.          Canada uses the same date format as the US, France uses the same
  130.          format as England, Austria the same as Germany...)
  131.  
  132. The order in which the messages and commands are listed doesn't matter too
  133. much, although the messages should be listed in assending sequence by 'time'
  134. for easier reading and editing (by you).
  135.  
  136.  
  137. I can be contacted as Frank Bell via the following:
  138. Europe -
  139.  FidoNet             as 2:310/12.24@fidonet.org
  140.  NeST                as 90:8060/101.24@nest.ftn
  141.  MAUS Net            as FRANK BELL @ A2W 
  142.  at work             as What's that guy's name again?
  143.  at home             as Darling or Liebling or 'that no good...' (see below)
  144.  
  145. America -
  146.  GEnie               as F.BELL1
  147.  CIS                 as 100034.104 (I hope that's not my password)
  148.  my mother's place   as 'that no good tramp who never calls or writes'
  149.  
  150.  or via snail mail - Frank Bell
  151.                      Konstantingasse 7/1/5
  152.                      1160 Vienna, Austria             
  153.                      Europe
  154.  
  155. Your comments, ideas, bug reports, etc. are welcome.
  156.  
  157. Greetings, 
  158.  
  159. Frank...   20.50.32  07.06.92 
  160.  
  161.  
  162. P.S.  Before I forget.  GREETING.PRG was written and compiled in Omikron
  163.       BASIC 3.54.  Heck, this text was written using Omikron's Mortimer Plus.
  164.       The source code is available for those who want it - it will only cost 
  165.       a diskette or whatever a diskette cost these days (unless you have
  166.       something to trade).
  167.  
  168.       Future versions will include more stuff such as DATE and TIME checking
  169.       with the possibility to enter the correct date and/or time when your
  170.       system date and/or time is incorrect, or funny, or non-existing.
  171.  
  172.